/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.Date;

public class MallCategory {
    /**
     * mall_category.id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * mall_category.name
     * 类目名称
     * VARCHAR(50)
     *
     * @mbggenerated
     */
    private String name;

    /**
     * mall_category.parent_id
     * 上级类目id
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer parentId;

    /**
     * mall_category.gmt_create
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtCreate;

    /**
     * mall_category.gmt_modify
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtModify;

    /**
     * mall_category.type
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer type;

    /**
     * mall_category.attribute
     * 
     * VARCHAR(5000)
     *
     * @mbggenerated
     */
    private String attribute;

    /**
     * mall_category.status
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer status;

    /**
     * mall_category.create_user_id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long createUserId;

    /**
     * mall_category.comm_only_key
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer commOnlyKey;

    /**
     * mall_category.province_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer provinceId;

    /**
     * mall_category.city_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer cityId;

    /**
     * mall_category.area_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer areaId;

    /**
     * mall_category.level
     * 层级
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer level;

    /**
     * mall_category.user_id
     * 用户id
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long userId;

    /**
     * mall_category.image
     * 类目图标
     * VARCHAR(100)
     *
     * @mbggenerated
     */
    private String image;

    /**
     * mall_category.sort_num
     * 排列顺序
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer sortNum;

    /* @mbggenerated */
    public Integer getId() {
        return id;
    }

    /* @mbggenerated */
    public void setId(Integer id) {
        this.id = id;
    }

    /* @mbggenerated */
    public String getName() {
        return name;
    }

    /* @mbggenerated */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /* @mbggenerated */
    public Integer getParentId() {
        return parentId;
    }

    /* @mbggenerated */
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    /* @mbggenerated */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /* @mbggenerated */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /* @mbggenerated */
    public Date getGmtModify() {
        return gmtModify;
    }

    /* @mbggenerated */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    /* @mbggenerated */
    public Integer getType() {
        return type;
    }

    /* @mbggenerated */
    public void setType(Integer type) {
        this.type = type;
    }

    /* @mbggenerated */
    public String getAttribute() {
        return attribute;
    }

    /* @mbggenerated */
    public void setAttribute(String attribute) {
        this.attribute = attribute == null ? null : attribute.trim();
    }

    /* @mbggenerated */
    public Integer getStatus() {
        return status;
    }

    /* @mbggenerated */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /* @mbggenerated */
    public Long getCreateUserId() {
        return createUserId;
    }

    /* @mbggenerated */
    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    /* @mbggenerated */
    public Integer getCommOnlyKey() {
        return commOnlyKey;
    }

    /* @mbggenerated */
    public void setCommOnlyKey(Integer commOnlyKey) {
        this.commOnlyKey = commOnlyKey;
    }

    /* @mbggenerated */
    public Integer getProvinceId() {
        return provinceId;
    }

    /* @mbggenerated */
    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    /* @mbggenerated */
    public Integer getCityId() {
        return cityId;
    }

    /* @mbggenerated */
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    /* @mbggenerated */
    public Integer getAreaId() {
        return areaId;
    }

    /* @mbggenerated */
    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    /* @mbggenerated */
    public Integer getLevel() {
        return level;
    }

    /* @mbggenerated */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /* @mbggenerated */
    public Long getUserId() {
        return userId;
    }

    /* @mbggenerated */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /* @mbggenerated */
    public String getImage() {
        return image;
    }

    /* @mbggenerated */
    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    /* @mbggenerated */
    public Integer getSortNum() {
        return sortNum;
    }

    /* @mbggenerated */
    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }
}